package com.taxshare.purchaser.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;
import com.taxshare.purchaser.constant.TableConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @ClassName: InvoiceAddressRulesEntity
 * @Description:
 * @author: hjh
 * @date: 2021/11/29 15:30
 */
@Data
@ApiModel(description = "用户电话地址银行账户规则表")
@EqualsAndHashCode(callSuper = true)
@TableName(TableConstant.T_PURCHASER_INVOICE_ADDRESS_RULES)
public class InvoiceAddressRulesEntity extends BaseEntity implements Serializable {

    @ApiModelProperty("用户电话地址银行账户规则ID")
    @TableId("address_rule_id")
    private String addressRuleId;

    @ApiModelProperty("发票审核规则uuid")
    @TableId("uuid")
    private String uuid;

    @ApiModelProperty("不通过原因")
    @TableField("address_not_pass_reasons")
    private String addressNotPassReasons;

    @ApiModelProperty("用户手机地址规则是否开启，0->不开启 1->开启")
    @TableField("address_is_open")
    private String addressIsOpen;

    @ApiModelProperty("强制通过标志(0 未开启  1 开启)")
    @TableField("force_flag")
    private String forceFlag;

}
